<template>
  <a-card title="EUpload - 文件上传" :bordered="false">
    <a slot="extra" target="_blank" href="http://rest-doc.easy-frame.top/front-end/components/data-entry/upload.html">文档地址</a>
    <p>
      文件上传
    </p>
    <a-row>
      <a-col :lg="12">
        <e-upload v-model="file" accept=".png, jpg"/>
      </a-col>
      <a-col :lg="12">
        <pre>{{ file }}</pre>
      </a-col>
    </a-row>
  </a-card>
</template>

<script>
import EUpload from '@/components/Easy/data-entry/Upload'
export default {
  name: 'SampleComponentsDataEntryUpload',
  components: { EUpload },
  data () {
    return {
      file: []
    }
  },
  methods: {
  }
}
</script>

<style scoped>

</style>
